package com.ddd.springdatajpa.demo.entity;

import com.ddd.springdatajpa.demo.bean.BasicBean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "z_user")
public class User extends BasicBean {

    private String name;

    private Integer age;
}
